package def;
import event.Event;
import event.KeyboardEvent;
import events.IEventListener;
public class CharactersCounter implements IEventListener {
	int total_characters = 0;
	public void executeEvent(Event event){
		int word_characters = ((KeyboardEvent)event).getText().length();
		total_characters += word_characters;
		System.out.println("[CaractersCounter]: word_characters: "+word_characters+"\ttotal_characters: "+total_characters);
	}
}
